package com.happystreet
{
	import com.happystreet.develop.DeveloperPreferences;

	/**
	 * 全局配置
	 * @author Liseen
	 * 
	 */	
	public class GlobalGameConstants
	{
		//flashVars->游戏基础路径
		public static const FLASHVARS_GAME_BASE_PATH:String="ms_game_base_url";
		//flashVars->游戏配置路径
		public static const FLASHVARS_CONFIG_URL:String = "ms_game_config_url";
		//flashVars->游戏xml配置路径
		public static const FLASHVARS_XML_BASE_URL:String = "ms_xml_base_url";
		//flashVars->游戏swf资源配置路径
		public static const FLASHVARS_ASSETS_BASE_URL:String="ms_assets_base_url";
		//flashVars->游戏配置数据
		public static const FLASHVARS_GAME_CONFIG:String = "ms_game_config";
		//flashVars->游戏主程序
		public static const FLASHVARS_GAME_SWF_URL:String = "ms_game_swf";
		
		public static const DEFAULT_CONFIG_URL:String="config/game_config.xml";
		public static const DEFAULT_GAME_SWF_URL:String = "StreetGame.swf";
		public static const DEFAULT_GAME_ASSETS_PATH:String="assets/";
		public static const DEFAULT_XML_BASE_URL:String="xml/";
		public static const DEFAULT_ASSETS_BASE_URL:String="swf/";
		//默认账号
		public static const DEFAULT_USER_INFO:String = DeveloperPreferences.defaultUserInfo;
		//街道默认背景id
		public static const DEFAULT_STREET_BACKGROUND:int = 421001;
		//默认墙壁编号
		public static const DEFAULT_WALL_SHAPE:int = 423000;
		//默认墙纸编号
		public static const DEFAULT_WALL_MATERIAL:int = 424012;
		
		//还没搞清楚这个常量的含义
		public static const WAREHOUSE_FILTER:int = 1;
		//游戏宽度
		public static const GAME_WIDTH:Number = 760;
		//游戏高度
		public static const GAME_HEIGHT:int = 620;
		
		//item表对应的类型
		//背景类
		public static const BACKGROUND_TYPE:int = 1;
		//人行道类型
		public static const PAVEMENT_TYPE:int = 2;
		//墙壁模型类
		public static const WALL_SHAPE_TYPE:int = 3;
		//墙壁材质类型
		public static const WALL_MATERIAL_TYPE:int = 4;
		//房顶类型
		public static const ROOF_TYPE:int = 5;
		//门类型
		public static const DOOR_TYPE:int = 6;
		//商店窗户类型
		public static const STORE_WINDOW_TYPE:int = 7;
		//窗户类型
		public static const WINDOW_TYPE:int = 8;
		//横幅类型
		public static const BANNER_TYPE:int = 9;
		//墙壁装饰
		public static const WALL_DECORATION_TYPE:int = 10;
		//外部装饰
		public static const OUTSIDE_DECORATION_TYPE:int = 11;
		
		//默认的用户语言->英文
		public static const DEFAULT_USER_LANGUAGE:String = "EN";
		//简单背景
		public static const BG_LAYER_SINGLE_TYPE:String = "single";
		//图案类型背景
		public static const BG_LAYER_PATTERN_TYPE:String = "pattern";
		//随机背景
		public static const BG_LAYER_RANDOM_TYPE:String = "random";
		//街道模式
		public static const HOME_STREET_GAMEMODE:String = "homeStreetMode";
		//访问模式
		public static const VISIT_STREET_GAMEMODE:String = "visitStreetMode";
		//商店信息模式
		public static const SHOP_INFO_GAMEMODE:String = "shopInfoGamemode";
		
		public static const CUSTOMIZATION_GAMEMODE:String = "customizationGamemode";
		
		public static const RUSH_HOUR_GAMEMODE:String = "rushHourGamemode";
		
		public static const CAMERA_GAMEMODE:String = "cameraGameMode";
		
		public static const VOTE_GAMEMODE:String = "voteGamemode";
		//门摆放规则
		public static const ITEM_DOOR_PLACEMENT_RULE:String = "itemDoorPlacement";
		public static const ITEM_OUTSIDE_PLACEMENT_RULE:String = "itemOutsidePlacement";
		public static const ITEM_ROOF_PLACEMENT_RULE:String = "itemRoofPlacement";
		public static const ITEM_FLOOR_PLACEMENT_RULE:String = "itemFloorPlacement";
		public static const ITEM_AREA_PLACEMENT_RULE:String = "itemAreaPlacement";
		public function GlobalGameConstants()
		{
		}
	}
}